Site Payments Process API - Implementation Template

(0 reviews)

Developer guide

This document provides information generated from the DataWeave scripts included in the project, such as function definitions, variable definitions, and data mapping tables. It can be used by developers seeking a solution to process site payments using Veeva CTMS and SAP S/4HANA.

ModuleDescription
createSAPJournalEntryRequestConvert Veeva Payment Request to SAP System API Journal Entry request.

createSAPJournalEntryRequest

Convert Veeva Payment Request to SAP System API Journal Entry request.

Source: ./src/main/resources/dwl/createSAPJournalEntryRequest.dwl

Mapping Tables

Maps Veeva Payment Request to SAP System API Create Journal Entry Request. Implements required fields to create a Journal Entry in SAP and can be extended as necessary.

SAP Field NameCTMS Field NameDescription
SenderSystemIdConfiguration value senderSystemId from properties file
messageHeader.recipientSystemIdConfiguration value recipientSystemId from properties file
journalEntry.referenceDocumentTypeConfiguration value referenceDocumentType from properties file
journalEntry.referenceDocumentSystemNameConfiguration value referenceDocumentSystemName from properties file
journalEntry.referenceDocumentIdpayment__v.idVeeva CTMS Payment Request Id
journalEntry.transactionTypeConfiguration value transactionType from properties file
journalEntry.accountingDocumentTypeConstant value "KR" provided f
journalEntry.documentHeaderTextConfiguration value documentHeaderText from properties file
journalEntry.createdByConfiguration value createdBy from properties file
journalEntry.companyCodepayable_itemsvr.project_codevVeeva CTMS Payable Item Project Code
journalEntry.documentDatepayment__v.modified_dateVeeva CTMS Payment Request Last Modified Date
journalEntry.postingDatenow()Current Date
item.glAccountpayable_itemsvr.account_codevVeeva CTMS Payable Item Account Code
item.amount.amountpayable_itemsvr.amountvSum of all CTMS Payable Items
item.amount.currencyCodepayable_itemsvr.local_currencysysr.name__vVeeva CTMS Payable Item Local Currency
creditorItem.creditorpayable_itemsvr.payee_namevr.debtor__cVeeva CTMS Payee Debtor Code
creditorItem.amount.amountpayable_itemsvr.amountvSum of all CTMS Payable Items to be credited. Credits are negative values
creditorItem.amount.currencyCodepayable_itemsvr.local_currencysysr.name__vVeeva CTMS Payable Item Local Currency

(back to top)


Reviews

TypeTemplate
OrganizationMuleSoft
Published by
MuleSoft Solutions
Published onOct 12, 2023
Asset overview

Asset versions for 1.0.x

Asset versions
VersionActions
1.0.2
1.0.0